Iot device and method for detecting and removing malware by use of server resource

ABSTRACT

The present disclosure provides an IoT device which comprise a user application module; an OS API module; a kernel API module; a file system driver module; a file filter driver module; and a network filter driver module. The user application module generates read/write event when an external file is received. The OS API module calls the kernel API module when the event is generated. The kernel API module transmits the read/write event to the file system driver module. The file system driver module generates the read/write operation command and transmits the command to the file filter driver module. The file filter driver module transmits the read/write operation command to the network filter driver module. The network filter driver module generates a exclusive packet including the read/write operation command and transmits the packet to a packet processing application module of a remote server.

CROSS-REFERENCE TO RELATED APPLICATION

This application claims priority to Korean Patent Application No. 10-2020-0169577 filed on Dec. 7, 2020. The application is expressly incorporated herein by reference.

TECHNICAL FIELD

The present disclosure relates to an IoT device that reads data from a remote storage media and write data to the media. Particularly, the present disclosure relates to an IoT device which detects and removes malware by use of a remote server resource and the method thereof.

BACKGROUND

Recently, IoT devices is popular due to low-power and ultra-compact computing thereof. The IoT devices have been introduced in home appliances, portable devices, automobiles, and the like as well as components of smart building and smart cities. The application and utility of the IoT devices is extending to every human life. Thus, it is expected that the use of IoT devices continues to grow.

The IoT devices are designed to use the conventional IT infrastructure. Thus, the IoT devices has also the problems which are incurred in the conventional IT technologies. In particular, the security threat to the IoT devices is becoming a serious problem.

The security threat to the IoT devices were considered from the beginning. However, the recent explosive growth of the IoT devices has caused severe security issues beyond the expectation. The IoT devices are introduced in the appliances which are used in human life so that the leakage of private information can be incurred. The security problems of the IoT devices which are used in a factory can cause physical damage and economic losses.

In order to address the problems, the conventional IT security technologies are tried to be introduced to the IoT devices. However, the arithmetic scope and storage capacity of the IoT devices are limited due to the low-power, limited power supply and various environmental elements. Thus, it is technically limited to introduce the conventional IT security technologies to the IoT devices.

The conventional anti-malware system compares a file on a disk, a process, or a memory with a pattern database of malware to check whether there is a malware and then delete or treat the file if the file matches with the pattern database.

Generally, the IoT devices has a minimum storage capacity or no storage. Many IoT devices are operated by a firmware. Thus, the IoT devices has insufficient storage capacity for storing pattern database of malware and insufficient resources for pattern matching operation. The inclusion of the sufficient storage capacity and the resource to the IoT devices causes increase of production costs.

SUMMARY

The object of the present disclosure is to provide an IoT device which effectively protects it from malware by overcoming the limitations of the IoT devices and using network resources.

The present disclosure provides an IoT device An IoT device which comprises a user application module; an OS API module; a kernel API module; a file system driver module; a file filter driver module; and a network filter driver module.

The user application module generates read/write event when an external file is received; the OS API module calls the kernel API module when the event is generated; the kernel API module transmits the read/write event to the file system driver module; the file system driver module generates the read/write operation command and transmits the command to the file filter driver module; the file filter driver module transmits the read/write operation command to the network filter driver module; and the network filter driver module generates a packet including the read/write operation command and transmits the packet to a packet processing application module of a remote server computer.

The server computer can comprise an anti-malware application module which generates a malware detecting event when the file is recorded at a server disk; a database module where malware information is recorded; and an anti-malware engine which detects malware with reference to the database module according to the event and carries out treatment to the malware.

The present disclosure also provides a computer-implemented method for carrying out read/write command of an IoT device including a user application module, an OS API module, a kernel API module, a file system driver module, a file filter driver module, and a network filter driver module. The method comprises generating, by the user application module, a read/write event when an external file is received; calling, by the OS API module, the kernel API module when the event is generated; transmitting, by the kernel API module, the read/write event to the file system driver module; generating, by the file system driver module, a read/write operation command, transmitting, by the file system driver module, the read/write operation command to the file filter driver module; transmitting, by the file filter driver module, the read/write operation command to the network filter driver module; generating, by the network filter driver module, a packet including the read/write operation command; and transmitting, by the network filter driver module, the packet to a packet processing application module of a remote server computer

Further, the present disclosure provides a computer program product which comprises one or more computer-readable storage media and program instructions stored in at least one of the one or more storage media. The program instructions executable by a processor to cause the processor to perform the method of the present disclosure.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a drawing of the IoT device of the present disclosure and a remote server computer;

FIG. 2 is a flow chart of the method carrying out the read/write commend of the IoT device of the present disclosure; and

FIG. 3 is an exemplary block diagram of the electronic arithmetic device carrying out the method of the present disclosure.

It should be understood that the above-referenced drawings are not necessarily to scale, presenting a somewhat simplified representation of various preferred features illustrative of the basic principles of the disclosure. The specific design features of the present disclosure will be determined in part by the particular intended application and use environment.

DETAILED DESCRIPTION

Hereinafter, the present disclosure will be described in detail with reference to the accompanying drawings. As those skilled in the art would realize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present disclosure. Further, throughout the specification, like reference numerals refer to like elements.

In this specification, the order of each step should be understood in a non-limited manner unless a preceding step must be performed logically and temporally before a following step. That is, except for the exceptional cases as described above, although a process described as a following step is preceded by a process described as a preceding step, it does not affect the nature of the present disclosure, and the scope of rights should be defined regardless of the order of the steps. In addition, in this specification, “A or B” is defined not only as selectively referring to either A or B, but also as including both A and B. In addition, in this specification, the term “comprise” has a meaning of further including other components in addition to the components listed.

The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used herein, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprise” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. As used herein, the term “and/or” includes any and all combinations of one or more of the associated listed items. The term “coupled” denotes a physical relationship between two components whereby the components are either directly connected to one another or indirectly connected via one or more intermediary components.

The term “module” or “unit” means a logical combination of a universal hardware and a software carrying out required function.

The terms “first,” “second,” or the like are herein used to distinguishably refer to same or similar elements, or the steps of the present disclosure and they may not infer an order or a plurality.

In this specification, the essential elements for the present disclosure will be described and the non-essential elements may not be described. However, the scope of the present disclosure should not be limited to the invention including only the described components. Further, it should be understood that the invention which includes additional element or does not have non-essential elements can be within the scope of the present disclosure.

The method of the present disclosure can be carried out by an IoT device and/or an electronic arithmetic device. The IoT device and/or server computer is provided with a computer program product which comprises one or more computer-readable storage media and program instructions stored in at least one of the one or more storage media. The program instructions is executable by a processor to cause the processor to perform the method of the present disclosure.

The electronic arithmetic device can be a device such as a computer, tablet, mobile phone, portable computing device, stationary computing device, server computer etc. Additionally, it is understood that one or more various methods, or aspects thereof, may be executed by at least one processor. The processor may be implemented on a computer, tablet, mobile device, portable computing device, etc. A memory configured to store program instructions may also be implemented in the device(s), in which case the processor is specifically programmed to execute the stored program instructions to perform one or more processes, which are described further below. Moreover, it is understood that the below information, methods, etc. may be executed by a computer, tablet, mobile device, portable computing device, etc. including the processor, in conjunction with one or more additional components, as described in detail below. Furthermore, control logic may be embodied as non-transitory computer readable media on a computer readable medium containing executable program instructions executed by a processor, controller/control unit or the like. Examples of the computer readable mediums include, but are not limited to, ROM, RAM, compact disc (CD)-ROMs, magnetic tapes, floppy disks, flash drives, smart cards and optical data storage devices. The computer readable recording medium can also be distributed in network coupled computer systems so that the computer readable media is stored and executed in a distributed fashion, e.g., by a telematics server or a Controller Area Network (CAN).

A variety of devices can be used herein. FIG. 3 illustrates an example diagrammatic view of an exemplary device architecture according to embodiments of the present disclosure. As shown in FIG. 3, a device (309) may contain multiple components, including, but not limited to, a processor (e.g., central processing unit (CPU); 310), a memory (320; also referred to as “computer-readable storage media), a wired or wireless communication unit (330), one or more input units (340), and one or more output units (350). It should be noted that the architecture depicted in FIG. 3 is simplified and provided merely for demonstration purposes. The architecture of the device (309) can be modified in any suitable manner as would be understood by a person having ordinary skill in the art, in accordance with the present claims. Moreover, the components of the device (309) themselves may be modified in any suitable manner as would be understood by a person having ordinary skill in the art, in accordance with the present claims. Therefore, the device architecture depicted in FIG. 3 should be treated as exemplary only and should not be treated as limiting the scope of the present disclosure.

The processor (310) is capable of controlling operation of the device (309). More specifically, the processor (310) may be operable to control and interact with multiple components installed in the device (309), as shown in FIG. 3. For instance, the memory (320) can store program instructions that are executable by the processor (310) and data. The process described herein may be stored in the form of program instructions in the memory (320) for execution by the processor (310). The communication unit (330) can allow the device (309) to transmit data to and receive data from one or more external devices via a communication network. The input unit (340) can enable the device (309) to receive input of various types, such as audio/visual input, user input, data input, and the like. To this end, the input unit (340) may be composed of multiple input devices for accepting input of various types, including, for instance, one or more cameras (342; i.e., an “image acquisition unit”), touch panel (344), microphone (not shown), sensors (346), keyboards, mice, one or more buttons or switches (not shown), and so forth. The term “image acquisition unit,” as used herein, may refer to the camera (342), but is not limited thereto. The input devices included in the input (340) may be manipulated by a user. The output unit (350) can display information on the display screen (352) for a user to view. The display screen (352) can also be configured to accept one or more inputs, such as a user tapping or pressing the screen (352), through a variety of mechanisms known in the art. The output unit (350) may further include a light source (354). The device (309) is illustrated as a single component, but the device may also be composed of multiple, separate components that are connected together and interact with each other during use.

Certain exemplary embodiments will now be described to provide an overall understanding of the principles of the structure, function, manufacture, and use of the devices and methods disclosed herein. One or more examples of these embodiments are illustrated in the accompanying drawings. Those skilled in the art will understand that the devices and methods specifically described herein and illustrated in the accompanying drawings are non-limiting exemplary embodiments and that the scope of the present invention is defined solely by the claims. The features illustrated or described in connection with one exemplary embodiment may be combined with the features of other embodiments. Such modifications and variations are intended to be included within the scope of the present invention.

FIG. 1 shows an exemplary structure of the IoT device and the anti-malware server computer according to the present disclosure. FIG. 2 shows the flow chart of the method for read/write command of the IoT device according to the present disclosure. For convenience of description, this specification describes the embodiments of carrying out “write” command when a malware intrudes into the IoT device. However, without substantial modifications, the description can be applied to the embodiments wherein “read” command is carried out for other functions.

The IoT device of the present disclosure comprises a user application module (10), an OS API module (20), a kernel API module (30), a file system driver module (40), a file filter driver module (50), a network filter driver module (60) and a disk (70).

When an external file including malware intrudes into the IoT device, the user application module (10) generates a file-write event (step 200). The event calls the kernel API module (30) which is provided in kernel level, via the OS API module (20) (step 210).

The kernel API module (30) transmits the file-write command to the file system driver module (40) (step 220). The file system driver module (40) generates a write-operation command based on the received event (step 230) and transmits the generated write-operation command to the file filter driver module (50) (step 240). The file filter driver module (50) transmits the received write-operation command to the network filter driver module (60) (step 250). The file filter driver module (50) and the network filter driver module (60) can be provided in the kernel level of the IoT device.

The network filter driver module (60) generates a packet including the write-operation command (step 260) and transmits the packet to the packet processing application module (85) of the server computer through communication devices (82, 84) (step 270). The packet processing application module (85) records data in a specific directory and file area of the server disk (90) based on the received packet.

The server disk which receives the write-operation command stores the file in the server disk (90) according to the command. According to the present disclosure, the disk (70) of the IoT device needs only a firmware area for operating the IoT device and does not need storage medium for storing the received external files or data generated during the operation. That is, according to the present disclosure, the IoT device can use the storage medium of the server computer, which has relatively large capacity. In this specification, the term “remote” is used for indicating a separate device from the IoT device, not meaning “physical distance.”

The server computer carries out the write-operation to the server disk based on the received write-operation command. The server computer can carry out the write-operation to separate directories (95) which are assigned to each IoT device.

The server computer comprises an anti-malware engine (120), an anti-malware application module (130) and a database (140) where malware information is recorded.

The constitution of the anti-malware engine and the anti-malware application module is well known and thus the detailed descriptions thereof are omitted.

When the write-operation is carried out to the server disk (90), the anti-malware application module (1300) generates a malware detecting event; the anti-malware engine (120) checks from the database (140) whether the file includes a malware; and the engine immediately delete or treat the file if the malware is detected.

According to the present disclosure, an anti-malware application module and an anti-malware engine which detect and treat a malware intruding into an IoT device need not to be provided in the IoT device. Further, it is advantageous in terms of production cost because the files generated during the operation of the IoT device are not stored in the disk (70) of the IoT device and only a firmware is recorded on the disk (70).

Although the present disclosure has been described with reference to accompanying drawings, the scope of the present disclosure is determined by the claims described below and should not be interpreted as being restricted by the embodiments and/or drawings described above. It should be clearly understood that improvements, changes and modifications of the present disclosure disclosed in the claims and apparent to those skilled in the art also fall within the scope of the present disclosure. Accordingly, this description is to be taken only by way of example and not to otherwise limit the scope of the embodiments herein. 

1. An IoT device comprising: a user application module; an OS API module; a kernel API module; a file system driver module; a file filter driver module; and a network filter driver module; wherein the user application module generates read/write event when an external file is received; the OS API module calls the kernel API module when the event is generated; the kernel API module transmits the read/write event to the file system driver module; the file system driver module generates the read/write operation command and transmits the command to the file filter driver module; the file filter driver module transmits the read/write operation command to the network filter driver module; and the network filter driver module generates a packet including the read/write operation command and transmits the packet to a packet processing application module of a remote server computer.
 2. The IoT device according to claim 1, wherein the server computer comprises an anti-malware application module which generates a malware detecting event when the file is recorded at a server disk; a database module where malware information is recorded; and an anti-malware engine which detects malware with reference to the database module according to the event and carries out treatment to the malware.
 3. A computer-implemented method for carrying out read/write command of an IoT device including a user application module, an OS API module, a kernel API module, a file system driver module, a file filter driver module, and a network filter driver module, the method comprising: generating, by the user application module, a read/write event when an external file is received; calling, by the OS API module, the kernel API module when the event is generated; transmitting, by the kernel API module, the read/write event to the file system driver module; generating, by the file system driver module, a read/write operation command, transmitting, by the file system driver module, the read/write operation command to the file filter driver module; transmitting, by the file filter driver module, the read/write operation command to the network filter driver module; generating, by the network filter driver module, a packet including the read/write operation command; and transmitting, by the network filter driver module, the packet to a packet processing application module of a remote server computer.
 4. A computer program product comprising one or more computer-readable storage media and program instructions stored in at least one of the one or more storage media, the program instructions executable by a processor to cause the processor to perform a method comprising: generating, by a user application module, a read/write event when an external file is received; calling, by an OS API module, a kernel API module when the event is generated; transmitting, by the kernel API module, the read/write event to a file system driver module; generating, by the file system driver module, a read/write operation command, transmitting, by the file system driver module, the read/write operation command to a file filter driver module; transmitting, by the file filter driver module, the read/write operation command to a network filter driver module; generating, by the network filter driver module, a packet including the read/write operation command; and transmitting, by the network filter driver module, the packet to a packet processing application module of a remote server. 